<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>学生详细信息页面</title>
<style type="text/css">
#infoForm
{
/* width:800px; */
background-color:#DCDCDC;
margin: 0 auto;
padding:40px;
width:30%;
}
	#btn
	{
	 background-color: #4682B4;
	color: white;
	width:100px;
	padding: 10px;
	font-size: 14px;
	border: none;
	border-radius: 5px;
	margin-top: 10px;
	margin-left:40%;
	
	}
	p
	{
	display:inline-block;
	color:#778899;
	}
</style>
</head>
<body>
<h1 align="center">学生详细信息</h1>
<div id="infoForm">
姓名: <p>${sinfo.name}</p><br>
学号: <p>${sinfo.stuNo }</p><br>
生日: <p>${sinfo.birthday }</p><br>
性别: <p>
<c:if test="${sinfo.sex ==1}">男</c:if>
<c:if test="${sinfo.sex ==0}">女	</c:if>
</p><br>
政治面貌: <p>
<c:if test="${sinfo.polity ==1}">党员</c:if>
<c:if test="${sinfo.polity ==2}">团员</c:if>
<c:if test="${sinfo.polity ==3}">无党派</c:if>
<c:if test="${sinfo.polity ==4}">其他</c:if>
</p><br>
个人简介: <p>${sinfo.brief}</p><br>
<input id="btn" type="button" value="点此返回" onclick="history.back(-1)"/>
</div>
</body>
</html>